export default {
	title: {
		type: String,
		default: '搜索'
	},
	color: {
		type: String,
		default: () => uni.$xl.global?.themeColor || '#666'
	},
	placeholder: {
		type: String,
		default: '请输入搜索内容'
	},
	// 若有多种类别搜索，可用types进行切换，可用字符串数组['商品','服务','门店']，或者对象数组[{label: '商品', value: '0'}]
	types: {
		type: Array,
		default: () => []
	},
	// 是否显示搜索提示列表
	searchTip: {
		type: Boolean,
		default: false
	},
	// 热搜类型  'card' | 'card-image' | 'capsule'
	hotMode:{
		type: String,
		default: 'card'
	},
	hotTip:{
		type: String,
		default: '今日热搜'
	},
	hotData:{
		type: Array,
		default: () => []
	},
  
  options: {
    type: Array,
    default: () => [
      {
        name: '默认',
        // type: 'card' | 'card-image' | 'capsule'
        hotSearchType: '',
        hotSearchData: [] || [{content: "热搜1", image: "/static/imgs/search/hot-search-1.jpg", describe: "描述1"}] || ["热搜2"]
      }
    ]
  },
  
	
  searchListProp: {
    type: String,
    default: ""
  }
}